package com.ruoyi.bantong.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.stereotype.Repository;

/**
 * 席位玩法黑名单对象 bt_placecard_blacklist
 * 
 * @author laohei
 * @date 2021-01-24
 */
public class BtPlacecardBlacklist extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Integer pbId;

    /** 等级 */
    @Excel(name = "等级")
    private Integer level;

    /** 用户 Id */
    @Excel(name = "用户 Id")
    private Integer userId;

    /** 用户头像 */
    private String avatar;
    /** 用户姓名 */
    private String name;

    public void setPbId(Integer pbId) 
    {
        this.pbId = pbId;
    }

    public Integer getPbId() 
    {
        return pbId;
    }
    public void setLevel(Integer level) 
    {
        this.level = level;
    }

    public Integer getLevel() 
    {
        return level;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pbId", getPbId())
            .append("level", getLevel())
            .append("userId", getUserId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
